<%@ page contentType="text/html;charset=UTF-8" %>

<script type="text/javascript">

    $(document).ready(function() {
        $(".info").click(function() {
            $(this).slideUp("fast");
        });
    })

</script>

<c:if test="${not empty actionMessages}">
    <s:if test="#attr.MSG_TYPE==-1">
        <c:forEach var="error" items="${actionMessages}">
            <div class="message error closeable">
                <p><strong>错误!</strong> <c:out value="${error}"/></p>
            </div><!-- end error  -->
        </c:forEach>
    </s:if>
    <s:else>
        <c:forEach var="message" items="${actionMessages}">
            <div class="message success closeable">
                <p><strong>提示:</strong><strong><c:out value="${message}"/></strong></p>
            </div><!-- end success -->
        </c:forEach>
    </s:else>
    <c:remove var="actionMessages" scope="session"/>
    <c:remove var="MSG_TYPE" scope="session"/>
</c:if>

<div class="message closeable" id="jsError" style="display:none;">
</div><!-- end success -->
